import javax.swing.JSlider;
import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener;


public class MyChangeListener implements ChangeListener {
	MyFrame parent;
	public MyChangeListener(MyFrame p) {
		parent=p;
	}

	@Override
	public void stateChanged(ChangeEvent evt) {
		parent.valuesByZoom();
	}

}
